package com.yb.personelmanagement.service.system;

import com.yb.personelmanagement.domain.System.Result;
import com.yb.personelmanagement.domain.System.User;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

/**
 * @Auther: lzx
 * @Date: 2019/8/8 10:46
 * @Description:
 */

public interface UserService {

    public Result findAllUser();
    
    public Result addUser(User user);
    
    public Result findById(Long id);
    
    public List<User> findSearch(Map searchMap);
    
    public Page<User> findSearch(Map searchMap,int page,int size);

}
